package cn.sdormitory.component.bindValue.query.store;

import cn.sdormitory.component.bindValue.AnnotationContext;
import cn.sdormitory.component.bindValue.bean.info.StoreInfo;
import cn.sdormitory.component.bindValue.query.AnnotationQuery;
import com.google.common.collect.Table;

public interface StoreQuery extends AnnotationQuery<StoreInfo,Table<String,String,Object>> {

    @Override
    default Table<String, String, Object> query(AnnotationContext<StoreInfo, Table<String, String, Object>> context){
        return getStoreTable(context);
    }

    Table<String, String, Object> getStoreTable(AnnotationContext<StoreInfo, Table<String, String, Object>> context);
}
